.training-session {
  min-height: 100vh;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

/* 头部 */
.training-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  position: relative;
  z-index: 10;
}

.training-header .icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
}

.training-header .icon-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

.training-header .title {
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  flex: 1;
}

.progress-text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
}

/* 进度条 */
.progress-bar {
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  position: relative;
  margin: 0 16px;
}

.progress-fill {
  height: 100%;
  background: #fff;
  border-radius: 2px;
  transition: width 0.5s ease;
}

/* 训练内容 */
.training-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  text-align: center;
}

/* 休息区域 */
.rest-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.rest-icon {
  font-size: 80px;
  margin-bottom: 10px;
}

.rest-section h2 {
  font-size: 28px;
  font-weight: 700;
  margin: 0;
  color: #fff;
}

.rest-timer {
  font-size: 64px;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  margin: 20px 0;
}

/* 运动区域 */
.exercise-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 100%;
}

.exercise-image {
  width: 200px;
  height: 200px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  margin-bottom: 20px;
}

.exercise-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.exercise-title {
  font-size: 28px;
  font-weight: 700;
  margin: 0;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.exercise-timer {
  font-size: 64px;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  margin: 20px 0;
}

.exercise-reps {
  font-size: 36px;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  margin: 20px 0;
}

/* 控制按钮 */
.training-controls {
  padding: 20px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.control-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: 50px;
  padding: 16px 24px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  min-width: 120px;
}

.start-btn {
  width: 100%;
  background: #ff6b6b;
  color: #fff;
  box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

.start-btn:hover {
  background: #ff5252;
  box-shadow: 0 6px 20px rgba(255, 107, 107, 0.6);
}

.control-buttons {
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.pause-btn {
  background: #ffa726;
  color: #fff;
  flex: 1;
}

.pause-btn:hover {
  background: #ff9800;
}

.next-btn {
  background: #66bb6a;
  color: #fff;
  flex: 1;
}

.next-btn:hover {
  background: #4caf50;
}

.complete-btn {
  background: #42a5f5;
  color: #fff;
  flex: 1;
}

.complete-btn:hover {
  background: #2196f3;
}

/* 没有练习内容 */
.no-exercise {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  color: #fff;
  text-align: center;
}

.no-exercise p {
  font-size: 18px;
  margin: 0;
}

/* 退出确认弹窗样式 */
.exit-dialog-popup {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.exit-dialog-popup .adm-popup-body {
  border-radius: 16px;
  background: #fff;
  width: 320px;
  max-width: 90vw;
  position: relative;
  margin: auto;
}

.exit-dialog {
  padding: 24px;
}

.exit-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.exit-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #1f2329;
}

.close-btn {
  background: none;
  border: none;
  padding: 4px;
  color: #8a8f98;
  cursor: pointer;
}

.exit-dialog p {
  color: #4e5969;
  line-height: 1.6;
  margin: 0 0 24px 0;
}

.exit-actions {
  display: flex;
  gap: 12px;
}

.exit-cancel,
.exit-confirm {
  flex: 1;
  padding: 12px 16px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.exit-cancel {
  background: #f7f8fa;
  color: #4e5969;
}

.exit-cancel:hover {
  background: #e6e8ef;
}

.exit-confirm {
  background: #ff6b6b;
  color: #fff;
}

.exit-confirm:hover {
  background: #ff5252;
}

/* 响应式设计 */
@media (max-width: 480px) {
  .exercise-image {
    width: 150px;
    height: 150px;
  }
  
  .exercise-timer, .rest-timer {
    font-size: 48px;
  }
  
  .exercise-title, .rest-section h2 {
    font-size: 24px;
  }
  
  .control-buttons {
    flex-direction: column;
  }
  
  .control-btn {
    width: 100%;
    margin-bottom: 8px;
  }
}
